<template>
  <div class="my-income-layout">
    <snackbar style-color="#4A4A4A"
              back-color="#ffffff"
              status-color="#ffffff"
              :fixed="true">
      <template slot="slot">
      </template>
    </snackbar>
    <div id="mycars">
    	<div class="mycars flex-col">
    		<div class="mycars_top flex-row">
    			<div class="top_l">
    				<span class="work1">桂B77788</span>
    			</div>
    			<span class="work2">加盟</span>
    			<div class="top_r">
    				<span class="work3 ">详细</span>
    				<img class="top_img" src="../../assets/image/fanhui.png">
    			</div>
    		</div>
    		<div class="txt1 flex-row">
    			<span class="info1">车型:</span>
    			<span class="info2">东风卡车</span>
    		</div>
    		<div class="txt2 flex-row">
    			<span class="info1">创建日期:</span>
    			<span class="info2">2021-5-31</span>
    			<span class="info3">工作量:</span>
    			<span class="info4">1000</span>
    			<span class="info3">车次</span>
    		</div>
    	</div>
    </div>
    <div class="bottom-layout">
      <span class="rests-btn">我的收入</span>
      <span class="add-btn">新增</span>
    </div>
  </div>
</template>

<script>
</script>

<style lang="scss" scoped>
  .my-income-layout {
    .top-layout {
      display: flex;
      flex-direction: row;
      align-items: center;
      border-bottom: 1px solid rgba(219, 219, 219, 0.5);
      width: 100vw;
      background-color: white;

      .tebs-layout {
        width: 100vw;
      }
    }

    .bottom-layout {
      position: fixed;
      bottom: 0px;
      width: 100vw;
      height: 47px;
      display: flex;
      flex-direction: row;


      .rests-btn {
        width: 121px;
        height: 47px;
        background: #FFFFFF;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        border-top: 1px solid rgba(221, 220, 220, 0.5);
        font-size: 14px;
        color: #3A3A3A;
      }

      .add-btn {
        flex: 1;
        height: 47px;
        background: linear-gradient(221deg, #7ED785 0%, #64C367 100%);
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        font-size: 14px;
        color: #FFFFFF;
      }
    }

  }
	.flex-col {
		display: flex;
		flex-direction: column;
	}

	.flex-row {
		display: flex;
		flex-direction: row;
	}
	#mycars{
		width: 100vw;
		height: 100vh;
		background-color: #F6f6f6
	}
	.mycars{
		width: 92%;
		height: 20%;
		background-color: #FFFFFF;
		position: absolute;
		top: 11%;
		left: 5%;
		border-radius: 3%;
	}
	.mycars_top{
		margin-top: 5%;
		margin-left: 4%;
	}
	.top_l {
		width: 30%;
    padding: 1% 0;
		border-radius: 5%;
		background-color: #F5A623;
		text-align: center;
	}
	.work1{
    padding: 1% 0;
		font-size: 14px;
		color: #FFFFFF;
		// margin-top: 2%;

	}
	.work2{
    padding: 1% 0;
		margin-left: 4%;
		font-size: 14px;
		color: #F5A623;
	}
	.top_r{
    padding: 1% 0;
		margin-left: 34vw;
	}
	.work3{
		font-size: 14px;
	}
	.top_img{
    padding: 1% 0;
    margin-left: 1%;
		position: absolute;
		// top: 15%;
	}
	.txt1{
		margin-left: 11%;
		margin-top: 5%;
		text-align: center;
	}
	.info1{
		font-size: 14px;
		color: #B4B4B4;
		// margin-top: 0.5%;
	}
	.info2{
		font-size: 14px;
		color: #333333;
		margin:0 0 0 4%;
	}
	.info3{
		font-size: 14px;
		color: #B4B4B4;
		margin:0 0 0 4%;
	}
	.info4{
		font-size: 14px;
		color: #333333;
		margin: 0 0 0 1%;
	}
	.txt2{
    height: 2vh;
    line-height: 2vh;
		margin-left: 6%;
		margin-top: 5%;
	}
</style>
